package org.jeecg.modules.flowable.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName(value = "flow_category")
@ApiModel(value = "flow_category对象", description = "流程分类管理")
public class FlowCategory implements Serializable {

    @ApiModelProperty(value = "id")
    @TableId(type = IdType.AUTO)
    private Long id;
    @ApiModelProperty(value = "parentId")
    private Long parentId;
    @ApiModelProperty(value = "分类名称", required = true)
    private String name;
    @ApiModelProperty(value = "分类层级")
    private Integer hierarchy;
    @ApiModelProperty(value = "是否前端显示（1：显示，0：不显示）")
    private Boolean frontShow;
    @ApiModelProperty(value = "分类排序")
    private Integer seqNo;


}
